<?php
require_once("../Datos/Selector.php");
require_once("../Datos/SubConsulta.php");
require_once("../Datos/Tablas/Tbl_ec_formas_pago.php");

class Sel_Formas_Pago extends Selector{

	function Sel_Formas_Pago(&$conexion){
		$this->Selector($conexion);

		$this->Nombre = "Formas_Pago";
		$this->estTablaBase(new Tbl_ec_formas_pago($conexion, ''));


		$campo = $this->tablaBase->obtCampo('fp_id');
		$campo->estAlias('Codigo');
		$this->agregarCampoVisible($campo);

		$campo = $this->tablaBase->obtCampo('fp_descripcion');
		$campo->estAlias('Descripcion');
		$this->agregarCampoVisible($campo);
		
		$campo = $this->tablaBase->obtCampo('fp_periodo');
		$campo->estAlias('Periodo');
		$this->agregarCampoVisible($campo);

		$this->txtConsulta = $this->GenerarConsulta();
 }
}
?>
